#ifndef RTK_H
#define RTK_H

#include "rtklib.h"

class RTK
{
public:
    RTK();
    RTK(char* pos);
    int GetRovObs(char* rov);
    int GetObs(char* bas,char* rov);
    int GetNav(char* nav);
    int RtkPos(char* result);
    int SinglePos(char* result);
private:
    void prsolution(const sol_t *sol);
    void updatenav(nav_t *nav);
private:
    obs_t obs;
    nav_t nav;
    rtk_t rtk;  //存储解算配置信息和滤波信息
};

#endif // RTK_H
